package com.lsp.microcommon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 文章信息表(Article)实体类
 *
 * @author makejava
 * @since 2024-06-27 10:04:47
 */
@Data
@TableName("article")
public class Article implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 文章标题
     */
    private String title;
    /**
     * 文章内容
     */
    private String content;
    /**
     * 图片地址，用逗号隔开
     */
    private String imgPath;
//    当天之前的点赞数，不包括今天
    private Integer likeNum;

    private Integer uid;
    
    private Date createTime;
    
    private Date updateTime;

}

